package com.shangrila.biz.common;

/**
 * 商品来源，控制是重新请求淘宝，还是直接读自己的数据
 * 
 * @author kalman03
 * 
 */
public enum ItemCacheType {

	from_taobao(1, "from_taobao"), from_db(2, "from_db");

	private ItemCacheType(int key, String value) {
		this.key = key;
		this.value = value;
	}

	private int key;
	private String value;

	public int getKey() {
		return key;
	}

	public void setKey(int key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
